package org.example.email;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * Description: EmailServiceApplication
 * Author: e
 * CreateDate: 2021-05-29
 */
@SpringBootApplication
@EnableDiscoveryClient
//@ComponentScan(value = "org.example")
@EnableFeignClients // 开启Feign
public class EmailServiceApplication {

    public static void main(String[] args) {
        SpringApplication.run(EmailServiceApplication.class,args);
    }

}
